package com.imagination.applet.domain.adapter.facechain;

import com.alibaba.fastjson.JSONObject;
import com.imagination.applet.domain.aiimage.model.AIImage;

import java.util.List;

public interface FaceChainAdapter {

    void training(Long virtualIdentityId, List<String> images);

    Integer trainingStatus(Long virtualIdentityId);

    JSONObject imageHD(AIImage aiImage, String taskId, String imagePath, Integer imagination);

    JSONObject inference(AIImage aiImage, String taskId, Long virtualIdentityId, Integer imagination, String image);

    JSONObject inferenceStatus(String taskId,String modelName, boolean isHd);

    JSONObject crop (String key, Integer[] arr);
}
